:root {
  // 主色调
  --primary-color: #165dff;
  --primary-color-hover: #0f50da;
  --primary-color-pressed: #0a37a6;
  
  // 辅助色
  --bg-primary: #f5f7fa;
  --bg-secondary: #e8f3ff;
  --border-color: #e5e9f2;
  
  // 强调色
  --accent-color: #ff7d00;
  --accent-color-hover: #e66f00;
  
  // 文本颜色
  --text-primary: #1d2129;
  --text-secondary: #4e5969;
  --text-tertiary: #86909c;
  
  // 字体
  --font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  // 圆角
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  // 阴影
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);
}

// 全局重置
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

// 通用组件样式
.card {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
  &:hover {
    box-shadow: var(--shadow-md);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  &:hover:not(:disabled) {
    background-color: var(--primary-color-hover);
  }
  &:active:not(:disabled) {
    background-color: var(--primary-color-pressed);
  }
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff;
  &:hover:not(:disabled) {
    background-color: var(--accent-color-hover);
  }
}

.input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
  &:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
  }
}

// 滚动条样式
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background-color: #c0c6cc;
  border-radius: 4px;
  &:hover {
    background-color: #a3a9ae;
  }
}

/*标题样式*/
.title-1 {
  @apply block w-100% h-33px relative text-center text-14px font-600 line-height-16px  text-#91E2FF;
  font-family:
    PingFang SC,
    PingFang SC;
  &::before {
    content: '';
    @apply w-330px absolute bottom-0 left-50% translate-x-[-50%] h-23px;
    background-size: cover;
    background-image: url('@/assets/images/home/responsibilitySystem/title-1-bg.png');
  }
}
.title-2 {
  @apply w-400px  bottom-0  h-28px flex items-center;
  background-size: 100% 100%;
  background-image: url('@/assets/images/home/fullCycle/title-2-bg.png');
  font-family:
    PingFang SC,
    PingFang SC;
  > :first-child {
    @apply relative c-#FFF;
    font-family: 'DOUYU, DOUYU';
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 2px;
    text-shadow:
      0px 4px 4px rgba(0, 0, 0, 0.25),
      -2px 0px 9px rgba(255, 255, 255, 1);
    display: flex;
    padding: 3px 47px 0 25px;
    &::before {
      content: '';
      @apply w-100% h-100% top-0 left-0 absolute;
      background-size: 40px 12px;
      background-position: 100% 50%;
      background-repeat: no-repeat;
      background-image: url('@/assets/images/home/fullCycle/title-2-icon.png');
    }
  }
}